<script setup lang="ts">
useHead({
  titleTemplate: `%s | 组件库`,
  meta: [
    {
      name: "description",
      content: "UI组件库"
    }
  ]
})

definePageMeta({
  path: "/myui"
})

const title = ref("UI组件库测试")

if(import.meta.server){
  console.log("server....")
}

if(import.meta.client){
  console.log("client....")
}
</script>

<template>
    <div>
      <div class="text-xl">{{ title }}</div>

        <el-button type="primary">
          ElementPlus BUtton
        </el-button>

        <u-button type="success">UButton</u-button>
    </div>
</template>

<style scoped>

</style>